3.4.88 \(\int \frac {\cosh ^2(e+f x)}{(a+b \sinh ^2(e+f x))^{3/2}} \, dx\) [388]

3.4.88.1 Optimal result
3.4.88.2 Mathematica [C] (verified)
3.4.88.3 Rubi [A] (verified)
3.4.88.4 Maple [A] (verified)
3.4.88.5 Fricas [B] (verification not implemented)
3.4.88.6 Sympy [F(-1)]
3.4.88.7 Maxima [F]
3.4.88.8 Giac [F(-2)]
3.4.88.9 Mupad [F(-1)]

3.4.88.1 Optimal result

Integrand size = 25, antiderivative size = 91 \[ \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx=\frac {\cosh (e+f x) E\left (\arctan \left (\frac {\sqrt {b} \sinh (e+f x)}{\sqrt {a}}\right )|1-\frac {a}{b}\right )}{\sqrt {a} \sqrt {b} f \sqrt {\frac {a \cosh ^2(e+f x)}{a+b \sinh ^2(e+f x)}} \sqrt {a+b \sinh ^2(e+f x)}} \]

output
cosh(f*x+e)*(1/(1+b*sinh(f*x+e)^2/a))^(1/2)*(1+b*sinh(f*x+e)^2/a)^(1/2)*El 
lipticE(sinh(f*x+e)*b^(1/2)/a^(1/2)/(1+b*sinh(f*x+e)^2/a)^(1/2),(1-a/b)^(1 
/2))/f/a^(1/2)/b^(1/2)/(a*cosh(f*x+e)^2/(a+b*sinh(f*x+e)^2))^(1/2)/(a+b*si 
nh(f*x+e)^2)^(1/2)
 
3.4.88.2 Mathematica [C] (verified)

Result contains complex when optimal does not.

Time = 0.48 (sec) , antiderivative size = 143, normalized size of antiderivative = 1.57 \[ \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx=\frac {i \sqrt {2} a \sqrt {\frac {2 a-b+b \cosh (2 (e+f x))}{a}} E\left (i (e+f x)\left |\frac {b}{a}\right .\right )-i \sqrt {2} a \sqrt {\frac {2 a-b+b \cosh (2 (e+f x))}{a}} \operatorname {EllipticF}\left (i (e+f x),\frac {b}{a}\right )+b \sinh (2 (e+f x))}{a b f \sqrt {4 a-2 b+2 b \cosh (2 (e+f x))}} \]

input
Integrate[Cosh[e + f*x]^2/(a + b*Sinh[e + f*x]^2)^(3/2),x]
 
output
(I*Sqrt[2]*a*Sqrt[(2*a - b + b*Cosh[2*(e + f*x)])/a]*EllipticE[I*(e + f*x) 
, b/a] - I*Sqrt[2]*a*Sqrt[(2*a - b + b*Cosh[2*(e + f*x)])/a]*EllipticF[I*( 
e + f*x), b/a] + b*Sinh[2*(e + f*x)])/(a*b*f*Sqrt[4*a - 2*b + 2*b*Cosh[2*( 
e + f*x)]])
 
3.4.88.3 Rubi [A] (verified)

Time = 0.30 (sec) , antiderivative size = 119, normalized size of antiderivative = 1.31, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.120, Rules used = {3042, 3671, 313}

Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.

\(\displaystyle \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx\)

\(\Big \downarrow \) 3042

\(\displaystyle \int \frac {\cos (i e+i f x)^2}{\left (a-b \sin (i e+i f x)^2\right )^{3/2}}dx\)

\(\Big \downarrow \) 3671

\(\displaystyle \frac {\sqrt {\cosh ^2(e+f x)} \text {sech}(e+f x) \int \frac {\sqrt {\sinh ^2(e+f x)+1}}{\left (b \sinh ^2(e+f x)+a\right )^{3/2}}d\sinh (e+f x)}{f}\)

\(\Big \downarrow \) 313

\(\displaystyle \frac {\sqrt {\sinh ^2(e+f x)+1} \sqrt {\cosh ^2(e+f x)} \text {sech}(e+f x) E\left (\arctan \left (\frac {\sqrt {b} \sinh (e+f x)}{\sqrt {a}}\right )|1-\frac {a}{b}\right )}{\sqrt {a} \sqrt {b} f \sqrt {\frac {a \left (\sinh ^2(e+f x)+1\right )}{a+b \sinh ^2(e+f x)}} \sqrt {a+b \sinh ^2(e+f x)}}\)

input
Int[Cosh[e + f*x]^2/(a + b*Sinh[e + f*x]^2)^(3/2),x]
 
output
(Sqrt[Cosh[e + f*x]^2]*EllipticE[ArcTan[(Sqrt[b]*Sinh[e + f*x])/Sqrt[a]], 
1 - a/b]*Sech[e + f*x]*Sqrt[1 + Sinh[e + f*x]^2])/(Sqrt[a]*Sqrt[b]*f*Sqrt[ 
(a*(1 + Sinh[e + f*x]^2))/(a + b*Sinh[e + f*x]^2)]*Sqrt[a + b*Sinh[e + f*x 
]^2])
 

3.4.88.3.1 Defintions of rubi rules used

rule 313
Int[Sqrt[(a_) + (b_.)*(x_)^2]/((c_) + (d_.)*(x_)^2)^(3/2), x_Symbol] :> Sim 
p[(Sqrt[a + b*x^2]/(c*Rt[d/c, 2]*Sqrt[c + d*x^2]*Sqrt[c*((a + b*x^2)/(a*(c 
+ d*x^2)))]))*EllipticE[ArcTan[Rt[d/c, 2]*x], 1 - b*(c/(a*d))], x] /; FreeQ 
[{a, b, c, d}, x] && PosQ[b/a] && PosQ[d/c]
 

rule 3042
Int[u_, x_Symbol] :> Int[DeactivateTrig[u, x], x] /; FunctionOfTrigOfLinear 
Q[u, x]
 

rule 3671
Int[cos[(e_.) + (f_.)*(x_)]^(m_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^( 
p_.), x_Symbol] :> With[{ff = FreeFactors[Sin[e + f*x], x]}, Simp[ff*(Sqrt[ 
Cos[e + f*x]^2]/(f*Cos[e + f*x]))   Subst[Int[(1 - ff^2*x^2)^((m - 1)/2)*(a 
 + b*ff^2*x^2)^p, x], x, Sin[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] 
 && IntegerQ[m/2] &&  !IntegerQ[p]
 
3.4.88.4 Maple [A] (verified)

Time = 1.23 (sec) , antiderivative size = 181, normalized size of antiderivative = 1.99

method result size
default \(\frac {\sqrt {-\frac {b}{a}}\, \sinh \left (f x +e \right ) \cosh \left (f x +e \right )^{2}+\sqrt {\frac {b \cosh \left (f x +e \right )^{2}}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 f x +2 e \right )}{2}+\frac {1}{2}}\, \operatorname {EllipticF}\left (\sinh \left (f x +e \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right )-\sqrt {\frac {b \cosh \left (f x +e \right )^{2}}{a}+\frac {a -b}{a}}\, \sqrt {\frac {\cosh \left (2 f x +2 e \right )}{2}+\frac {1}{2}}\, \operatorname {EllipticE}\left (\sinh \left (f x +e \right ) \sqrt {-\frac {b}{a}}, \sqrt {\frac {a}{b}}\right )}{\sqrt {-\frac {b}{a}}\, a \cosh \left (f x +e \right ) \sqrt {a +b \sinh \left (f x +e \right )^{2}}\, f}\) \(181\)

input
int(cosh(f*x+e)^2/(a+b*sinh(f*x+e)^2)^(3/2),x,method=_RETURNVERBOSE)
 
output
((-b/a)^(1/2)*sinh(f*x+e)*cosh(f*x+e)^2+(b/a*cosh(f*x+e)^2+(a-b)/a)^(1/2)* 
(cosh(f*x+e)^2)^(1/2)*EllipticF(sinh(f*x+e)*(-b/a)^(1/2),(a/b)^(1/2))-(b/a 
*cosh(f*x+e)^2+(a-b)/a)^(1/2)*(cosh(f*x+e)^2)^(1/2)*EllipticE(sinh(f*x+e)* 
(-b/a)^(1/2),(a/b)^(1/2)))/(-b/a)^(1/2)/a/cosh(f*x+e)/(a+b*sinh(f*x+e)^2)^ 
(1/2)/f
 
3.4.88.5 Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 1068 vs. \(2 (97) = 194\).

Time = 0.11 (sec) , antiderivative size = 1068, normalized size of antiderivative = 11.74 \[ \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx=\text {Too large to display} \]

input
integrate(cosh(f*x+e)^2/(a+b*sinh(f*x+e)^2)^(3/2),x, algorithm="fricas")
 
output
-(4*(b^2*cosh(f*x + e)^4 + 4*b^2*cosh(f*x + e)*sinh(f*x + e)^3 + b^2*sinh( 
f*x + e)^4 + 2*(2*a*b - b^2)*cosh(f*x + e)^2 + 2*(3*b^2*cosh(f*x + e)^2 + 
2*a*b - b^2)*sinh(f*x + e)^2 + b^2 + 4*(b^2*cosh(f*x + e)^3 + (2*a*b - b^2 
)*cosh(f*x + e))*sinh(f*x + e))*sqrt(b)*sqrt((2*b*sqrt((a^2 - a*b)/b^2) - 
2*a + b)/b)*sqrt((a^2 - a*b)/b^2)*elliptic_f(arcsin(sqrt((2*b*sqrt((a^2 - 
a*b)/b^2) - 2*a + b)/b)*(cosh(f*x + e) + sinh(f*x + e))), (8*a^2 - 8*a*b + 
 b^2 + 4*(2*a*b - b^2)*sqrt((a^2 - a*b)/b^2))/b^2) + ((2*a*b - b^2)*cosh(f 
*x + e)^4 + 4*(2*a*b - b^2)*cosh(f*x + e)*sinh(f*x + e)^3 + (2*a*b - b^2)* 
sinh(f*x + e)^4 + 2*(4*a^2 - 4*a*b + b^2)*cosh(f*x + e)^2 + 2*(3*(2*a*b - 
b^2)*cosh(f*x + e)^2 + 4*a^2 - 4*a*b + b^2)*sinh(f*x + e)^2 + 2*a*b - b^2 
+ 4*((2*a*b - b^2)*cosh(f*x + e)^3 + (4*a^2 - 4*a*b + b^2)*cosh(f*x + e))* 
sinh(f*x + e) - 2*(b^2*cosh(f*x + e)^4 + 4*b^2*cosh(f*x + e)*sinh(f*x + e) 
^3 + b^2*sinh(f*x + e)^4 + 2*(2*a*b - b^2)*cosh(f*x + e)^2 + 2*(3*b^2*cosh 
(f*x + e)^2 + 2*a*b - b^2)*sinh(f*x + e)^2 + b^2 + 4*(b^2*cosh(f*x + e)^3 
+ (2*a*b - b^2)*cosh(f*x + e))*sinh(f*x + e))*sqrt((a^2 - a*b)/b^2))*sqrt( 
b)*sqrt((2*b*sqrt((a^2 - a*b)/b^2) - 2*a + b)/b)*elliptic_e(arcsin(sqrt((2 
*b*sqrt((a^2 - a*b)/b^2) - 2*a + b)/b)*(cosh(f*x + e) + sinh(f*x + e))), ( 
8*a^2 - 8*a*b + b^2 + 4*(2*a*b - b^2)*sqrt((a^2 - a*b)/b^2))/b^2) - sqrt(2 
)*(b^2*cosh(f*x + e)^3 + 3*b^2*cosh(f*x + e)*sinh(f*x + e)^2 + b^2*sinh(f* 
x + e)^3 + (2*a*b - b^2)*cosh(f*x + e) + (3*b^2*cosh(f*x + e)^2 + 2*a*b...
 
3.4.88.6 Sympy [F(-1)]

Timed out. \[ \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx=\text {Timed out} \]

input
integrate(cosh(f*x+e)**2/(a+b*sinh(f*x+e)**2)**(3/2),x)
 
output
Timed out
 
3.4.88.7 Maxima [F]

\[ \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx=\int { \frac {\cosh \left (f x + e\right )^{2}}{{\left (b \sinh \left (f x + e\right )^{2} + a\right )}^{\frac {3}{2}}} \,d x } \]

input
integrate(cosh(f*x+e)^2/(a+b*sinh(f*x+e)^2)^(3/2),x, algorithm="maxima")
 
output
integrate(cosh(f*x + e)^2/(b*sinh(f*x + e)^2 + a)^(3/2), x)
 
3.4.88.8 Giac [F(-2)]

Exception generated. \[ \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx=\text {Exception raised: RuntimeError} \]

input
integrate(cosh(f*x+e)^2/(a+b*sinh(f*x+e)^2)^(3/2),x, algorithm="giac")
 
output
Exception raised: RuntimeError >> an error occurred running a Giac command 
:INPUT:sage2OUTPUT:Error: Bad Argument Type
 
3.4.88.9 Mupad [F(-1)]

Timed out. \[ \int \frac {\cosh ^2(e+f x)}{\left (a+b \sinh ^2(e+f x)\right )^{3/2}} \, dx=\int \frac {{\mathrm {cosh}\left (e+f\,x\right )}^2}{{\left (b\,{\mathrm {sinh}\left (e+f\,x\right )}^2+a\right )}^{3/2}} \,d x \]

input
int(cosh(e + f*x)^2/(a + b*sinh(e + f*x)^2)^(3/2),x)
 
output
int(cosh(e + f*x)^2/(a + b*sinh(e + f*x)^2)^(3/2), x)